using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.ComponentModel;
using ACME.Northwind.DataTransfer;
using System.Runtime.Serialization;

namespace ACME.Northwind.DataTransfer
{
	/// <summary>
	/// Object data transfer definition for the 'Suppliers' table
	/// </summary>
	[Serializable()]
	[DataContract()]
	public partial class SupplierDTO : IDTO
	{
		#region Class Members

		#region FieldNameConstants Enumeration

		/// <summary>
		/// An enumeration of this object's fields
		/// </summary>
		public enum FieldNameConstants
		{
			 /// <summary>
			 /// Field mapping for the 'SupplierId' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'SupplierId' property")]
			SupplierId,
			 /// <summary>
			 /// Field mapping for the 'Region' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'Region' property")]
			Region,
			 /// <summary>
			 /// Field mapping for the 'PostalCode' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'PostalCode' property")]
			PostalCode,
			 /// <summary>
			 /// Field mapping for the 'Phone' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'Phone' property")]
			Phone,
			 /// <summary>
			 /// Field mapping for the 'HomePage' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'HomePage' property")]
			HomePage,
			 /// <summary>
			 /// Field mapping for the 'Fax' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'Fax' property")]
			Fax,
			 /// <summary>
			 /// Field mapping for the 'Country' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'Country' property")]
			Country,
			 /// <summary>
			 /// Field mapping for the 'ContactTitle' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ContactTitle' property")]
			ContactTitle,
			 /// <summary>
			 /// Field mapping for the 'ContactName' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ContactName' property")]
			ContactName,
			 /// <summary>
			 /// Field mapping for the 'CompanyName' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'CompanyName' property")]
			CompanyName,
			 /// <summary>
			 /// Field mapping for the 'City' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'City' property")]
			City,
			 /// <summary>
			 /// Field mapping for the 'Address' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'Address' property")]
			Address,
			 /// <summary>
			 /// Field mapping for the 'CreatedBy' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'CreatedBy' property")]
			CreatedBy,
			 /// <summary>
			 /// Field mapping for the 'CreatedDate' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'CreatedDate' property")]
			CreatedDate,
			 /// <summary>
			 /// Field mapping for the 'ModifiedBy' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ModifiedBy' property")]
			ModifiedBy,
			 /// <summary>
			 /// Field mapping for the 'ModifiedDate' property
			 /// </summary>
			[System.ComponentModel.Description("Field mapping for the 'ModifiedDate' property")]
			ModifiedDate,
		}

		#endregion

		#endregion

		#region Constructors

		/// <summary>
		/// The default contructor for the Supplier DTO
		/// </summary>
		public SupplierDTO()
		{
		}

		#endregion

		#region Object Properties

		/// <summary>
		/// The Address field
		/// </summary>
		[DataMember()]
		public virtual string Address { get; set; }
		/// <summary>
		/// The City field
		/// </summary>
		[DataMember()]
		public virtual string City { get; set; }
		/// <summary>
		/// The CompanyName field
		/// </summary>
		[DataMember()]
		public virtual string CompanyName { get; set; }
		/// <summary>
		/// The ContactName field
		/// </summary>
		[DataMember()]
		public virtual string ContactName { get; set; }
		/// <summary>
		/// The ContactTitle field
		/// </summary>
		[DataMember()]
		public virtual string ContactTitle { get; set; }
		/// <summary>
		/// The Country field
		/// </summary>
		[DataMember()]
		public virtual string Country { get; set; }
		/// <summary>
		/// The Fax field
		/// </summary>
		[DataMember()]
		public virtual string Fax { get; set; }
		/// <summary>
		/// The HomePage field
		/// </summary>
		[DataMember()]
		public virtual string HomePage { get; set; }
		/// <summary>
		/// The Phone field
		/// </summary>
		[DataMember()]
		public virtual string Phone { get; set; }
		/// <summary>
		/// The PostalCode field
		/// </summary>
		[DataMember()]
		public virtual string PostalCode { get; set; }
		/// <summary>
		/// The Region field
		/// </summary>
		[DataMember()]
		public virtual string Region { get; set; }
		/// <summary>
		/// The SupplierId field
		/// </summary>
		[DataMember()]
		public virtual int SupplierId { get; set; }
		/// <summary>
		/// The CreatedDate field
		/// </summary>
		[DataMember()]
		public virtual DateTime? CreatedDate { get; set; }
		/// <summary>
		/// The CreatedBy field
		/// </summary>
		[DataMember()]
		public virtual string CreatedBy { get; set; }
		/// <summary>
		/// The ModifiedDate field
		/// </summary>
		[DataMember()]
		public virtual DateTime? ModifiedDate { get; set; }
		/// <summary>
		/// The ModifiedBy field
		/// </summary>
		[DataMember()]
		public virtual string ModifiedBy { get; set; }

		#endregion

	}

}
